Boost
boost
arrow_drop_down
Boost.Graph
C++ 14 Added in Boost 1.18.0
Categories: Containers , Algorithms , Iterators

The BGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).

This Release

Jeremy W. Murphy
Jeremy W. Murphy
Maintainer
Jan-Grimo Sobez
Jan-Grimo Sobez
Contributor - New
Daan Kolthof
Daan Kolthof
Contributor - New
Sven Gato Redsun
Sven Gato Redsun
Contributor - New
Seth Heeren
Seth Heeren
Contributor - New
andrea-cassioli-maersk
andrea-cassioli-maersk
Contributor - New
George Williams
Contributor - New
vslashg
vslashg
Contributor - New
Andy Shulman
Contributor - New
Marc Glisse
Marc Glisse
Contributor - New
Matt Pulver
Matt Pulver
Contributor - New
Romain Geissler
Romain Geissler
Contributor - New
Conrad Poelman
Conrad Poelman
Contributor - New
Jiachen Dong
Jiachen Dong
Contributor - New
Daan Kolthof
Daan Kolthof
Contributor - New
Francois Kritzinger
Francois Kritzinger
Contributor - New
ꓪꓱꓱꓠꓛꓧ
ꓪꓱꓱꓠꓛꓧ
Contributor - New
Derek McBlane
Derek McBlane
Contributor - New
l00574988
Contributor - New
Sebastian Brockmeyer
Sebastian Brockmeyer
Contributor
Andrey Semashev
Andrey Semashev
Contributor

Boost Graph Library Build StatusBuild Status

===================

A generic interface for traversing graphs, using C++ templates.

The full documentation is available on boost.org.

Support, bugs and feature requests

Bugs and feature requests can be reported through the Github issue page.

See also:

You can submit your changes through a pull request. One of the maintainers will take a look (remember that it can take some time).

There is no mailing-list specific to Boost Graph, although you can use the general-purpose Boost mailing-list using the tag [graph].

Development

Master Develop
Github Actions Build Status Build Status
Drone Build Status Build Status

Clone the whole boost project, which includes the individual Boost projects as submodules (see boost+git doc):

git clone https://github.com/boostorg/boost
cd boost
git submodule update --init

The Boost Graph Library is located in libs/graph/.

Boost Graph Library is mostly made of headers but also contains some compiled components. Here are the build commands:

./bootstrap.sh            <- compile b2
./b2 headers              <- just installs headers
./b2                      <- build compiled components

Note: The Boost Graph Library cannot currently be built outside of Boost itself.

Running tests

First, make sure you are in libs/graph/test. You can either run all the 300+ tests listed in Jamfile.v2 or run a single test:

../../../b2                        <- run all tests
../../../b2 cycle_canceling_test   <- single test

You can also check the regression tests reports.

All Time

Jeremy Siek
Jeremy Siek
Contributor
Jeremiah Willcock
Jeremiah Willcock
Contributor
Douglas Gregor
Douglas Gregor
Contributor
jzmaddock
jzmaddock
Contributor
Andrew Sutton
Andrew Sutton
Contributor
Vladimir Prus
Vladimir Prus
Contributor
K. Noel Belcourt
K. Noel Belcourt
Contributor
Beman Dawes
Beman Dawes
Contributor
Aaron Windsor
Aaron Windsor
Contributor
Dave Abrahams
Dave Abrahams
Contributor
Ronald Garcia
Ronald Garcia
Contributor
nobody
Contributor
jrmarsha
jrmarsha
Contributor
CromwellEnage
CromwellEnage
Contributor
Daniel James
Daniel James
Contributor
Murray Cumming
Murray Cumming
Contributor
Jürgen Hunold
Jürgen Hunold
Contributor
Lie-Quan Lee
Contributor
Rene Rivera
Rene Rivera
Contributor
Peter Dimov
Peter Dimov
Contributor
Peter Dimov
Peter Dimov
Contributor
Eisuke Kawashima
Eisuke Kawashima
Contributor
Mads Jensen
Mads Jensen
Contributor
Alexander Lauser
Alexander Lauser
Contributor
Eric Niebler
Contributor
Marshall Clow
Marshall Clow
Contributor
Stephen Kelly
Stephen Kelly
Contributor
Alec Edgington
Alec Edgington
Contributor
Jakob Lykke Andersen
Jakob Lykke Andersen
Contributor
Josef Cibulka
Contributor
Gennaro Prota
Contributor
Valentyn Shtronda
Valentyn Shtronda
Contributor
Darin Adler
Contributor
Josh Marshall
Josh Marshall
Contributor
jiyi
Contributor
Nicholas Edmonds
Nicholas Edmonds
Contributor
Akira Takahashi
Akira Takahashi
Contributor
BenPope
BenPope
Contributor
Stefan Slapeta
Contributor
Jonathan Turkanis
Jonathan Turkanis
Contributor
Edward Diener
Edward Diener
Contributor
yi-ji
yi-ji
Contributor
Maël Valais
Maël Valais
Contributor
Guillaume Melquiond
Guillaume Melquiond
Contributor
Glen Fernandes
Glen Fernandes
Contributor
Daniela Engert
Daniela Engert
Contributor
Marcel Raad
Marcel Raad
Contributor
Michael A. Jackson
Michael A. Jackson
Contributor
Troy D. Straszheim
Troy D. Straszheim
Contributor
Steven Watanabe
Steven Watanabe
Contributor
Viktor T
Viktor T
Contributor
Aleksey Gurtovoy
Contributor
Victor A. Wagner Jr.
Contributor
akumta
akumta
Contributor
James E. King, III
James E. King, III
Contributor
Björn Karlsson
Contributor
Andreas Huber
Contributor
Vladimir Prus
Vladimir Prus
Contributor
Louis Dionne
Louis Dionne
Contributor
Kolya Matteo
Kolya Matteo
Contributor
Eric Niebler
Eric Niebler
Contributor
Jared Grubb
Jared Grubb
Contributor
Ahmed Charles
Ahmed Charles
Contributor
Pavel I. Kryukov
Pavel I. Kryukov
Contributor
Caleb Epstein
Contributor
mikael
mikael
Contributor
marcinz
marcinz
Contributor
Arvin Schnell
Arvin Schnell
Contributor
Justin Viiret
Justin Viiret
Contributor
coderakki
coderakki
Contributor
sehe
sehe
Contributor
felix
felix
Contributor
Arne B
Contributor
Daniel J. H
Daniel J. H
Contributor
Ola Nilsson
Ola Nilsson
Contributor
Jakob Lykke Andersen
Jakob Lykke Andersen
Contributor
Lorenz Breidenbach
Lorenz Breidenbach
Contributor
Matt Barr
Contributor
Denis Davydov
Denis Davydov
Contributor
Andreas Scherer
Andreas Scherer
Contributor
David Einstein
David Einstein
Contributor
Rasmus Ahlberg
Contributor
John Zhang
John Zhang
Contributor
Mateusz Polnik
Mateusz Polnik
Contributor
Billy K. Poon
Billy K. Poon
Contributor
Stefan Hammer
Contributor
Fábio Silva
Fábio Silva
Contributor
Myles1
Myles1
Contributor
Vadim Peretokin
Vadim Peretokin
Contributor
Jared Khan
Jared Khan
Contributor
Thomas Witt
Thomas Witt
Contributor
Eugene Zelenko
Contributor
Jens Maurer
Jens Maurer
Contributor
Joel de Guzman
Joel de Guzman
Contributor
Ashish Kumar
Ashish Kumar
Contributor
Shoaib Meenai
Shoaib Meenai
Contributor
hlynurf
hlynurf
Contributor
Philip Allgaier
Philip Allgaier
Contributor
Nik Reiman
Nik Reiman
Contributor
Josef Cibulka
Contributor
Alex Hagen-Zanker
Alex Hagen-Zanker
Contributor
char-lie
char-lie
Contributor
Tinko Bartels
Tinko Bartels
Contributor
Anthony Eden
Anthony Eden
Contributor
Alexander Zaitsev
Alexander Zaitsev
Contributor
康小广
康小广
Contributor
Jonathan Wakely
Jonathan Wakely
Contributor
Alan Somers
Alan Somers
Contributor
Jean-Michaël Celerier
Jean-Michaël Celerier
Contributor
Neil Groves
Contributor
Roland Schwarz
Roland Schwarz
Contributor
Katrin Leinweber
Katrin Leinweber
Contributor
Jürgen Hunold
Contributor
Stephan Diederich
Stephan Diederich
Contributor
Kohei Takahashi
Kohei Takahashi
Contributor
Jonathan Wakely
Jonathan Wakely
Contributor
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
Contributor
Joaquín M. López Muñoz
Joaquín M. López Muñoz
Contributor
Ciro Santilli
Ciro Santilli
Contributor
Vicky Vergara
Vicky Vergara
Contributor
Jesse Li
Jesse Li
Contributor
Antony Polukhin
Antony Polukhin
Contributor
Jurko Gospodnetić
Jurko Gospodnetić
Contributor
Jedrzej Solecki
Contributor
etienneINSA
etienneINSA
Contributor
Noel Belcourt
Noel Belcourt
Contributor
Alisdair Meredith
Alisdair Meredith
Contributor